﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DirectCashReport.aspx.cs" Inherits="ConsolidationTool.WebParts.Layouts.CReport.DirectCashReport" DynamicMasterPageFile="~masterurl/default.master" %>

<%@ Register TagName="EntitySelector" TagPrefix="RE" Src="~/_controltemplates/ConsolidationTool.WebParts/CommonEntitySelector.ascx" %>
<%@ Register TagName="ExportExcel" TagPrefix="RE" Src="~/_controltemplates/ConsolidationTool.WebParts/PublicExportExcel.ascx" %>
<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<div class="fs-webpart-top">
        <RE:EntitySelector ID="commonEntitySelector" runat="server" />
    </div>
    <br />
    <asp:Button ID="GenerateReport" runat="server" Text="Generate Report" OnClick="GenerateReport_Click" />
    <RE:ExportExcel ID="ExportExcel1" runat="server" />
    <br />
    <table class="commontable">
    <thead>
        <asp:Repeater runat="server" ID="RepHeader">
            <ItemTemplate>
                <tr> 
                    <asp:Repeater ID="RPValue" runat="server">
                        <ItemTemplate>
                            <td align="center" colspan='<%# Eval("colspan")%>'>
                                <%# Eval("title")%>
                            </td>
                        </ItemTemplate>
                    </asp:Repeater> 
                </tr>
            </ItemTemplate>
        </asp:Repeater>
        </thead>
        <asp:Repeater ID="EQRepeater" runat="server">
            <ItemTemplate>
                <tr>
                    <td>
                        <%# Eval("acountcode")%>
                    </td>
                    <td>
                        <%# Eval("title")%>
                    </td>
                    <td>
                        <%# Eval("unit")%>
                    </td>
                    <asp:Repeater ID="RPValue" runat="server">
                        <ItemTemplate>
                            <td>
                                <%# GetDataItem()%>
                            </td>
                        </ItemTemplate>
                    </asp:Repeater>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <br />
</asp:Content> 

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
F18
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
F18
</asp:Content>
